#include <iostream>
#include <conio.h>
using namespace std;
int main ()
{
setlocale (0, "Rus");

double a,b,x;
int number;

cout<<"Vvedite a i b, b ne ravno nulu"<<endl;
cin>>a>>b;

cout<<" Viberite nomer deistviya ot 1 do 4 "<<endl;
cin>>number;
switch(number)
{
case 1:
x=a+b;
cout<<"Vidrano slojenie, Rezultat raven="<<x<<endl;
break;
case 2:
x=a-b;
cout<<" Vibrano Vichitanie, Resultat raven="<<x<<endl;
break;
case 3:
x=a*b;
cout<<"Vibrano umnojenie, Resultat raven="<<x<<endl;
break;
case 4:
x=a/b;
cout<<"Vibrano dalenie,  Resultat raven="<<x<<endl;
break;
default:
cout<<"Error!"<<endl;
break;
}
system("pause");
return 0;
}
